/**  
 * @Project: EC-BaseComponent
 * @Title: UuidGenUtils.java
 * @Package org.lazicats.ecos.basecomponent.utils
 * @Description: UUID生成工具
 * @author: lule
 * @date 2013-3-21 下午6:23:18
 * @Copyright: BroadenGate Software Services Co.,Ltd. All rights reserved.
 * @version V1.0  
 */
package cn.com.shopec.erp.common.utils;

import java.util.UUID;

/**
 * 
 * @ClassName: UuidGenUtils
 * @Description: UUID生成工具
 * @author: duhui
 * @date 2013-5-27 下午07:25:37
 * 
 */
public final class UuidGenUtils {

    /**
     * 
     * @Title: genUUID
     * @Description: 生成一个UUID串（32个字符，其中的字母为小写）
     * @return
     * @throws
     * @author: duhui
     * @date: 2013-5-27下午07:25:54
     */
    public static String genUUID() {
        return UUID.randomUUID().toString().replaceAll("-", "");
    }

    public static String filterDecode(String url) {
        // if(url == null) return null;
        // url=url.replaceAll("<","&lt;")
        // .replaceAll(">","&gt;")
        // .replaceAll("\'","&apos;")
        // .replaceAll("\"","&quot;")
        // .replaceAll(" ","&nbsp;");
        // System.out.print("filterDecodeurl"+url);
        return url;
    }
}
